<?php
/*
 *DB������
 */
class DBConfig {
	public static $config=array('dbhost'=>'','dbuser'=>'','dbpw'=>'','dbname'=>'','charset'=>'');
	
	public static function setConfig(array $options){
		foreach(self::$config as $k=>$val){
			self::$config[$k] = $options[$k];
		}
	}
	
	public static function getConfig(){return self::$config;}
}